package main

import "fmt"

//------------------------------------
type Student struct {
	name string
	id   int
}

//Student实现了此方法
func (s *Student) sayhi() {
	fmt.Printf("Student[%s, %d] sayhi\n", s.name, s.id)
}
